import request from '@/utils/request'

// 查询案例列表列表
export function listCaseLists(query) {
  return request({
    url: '/mhrb/cases/caseLists/list',
    method: 'get',
    params: query
  })
}

// 查询案例列表详细
export function getCaseLists(id) {
  return request({
    url: '/mhrb/cases/caseLists/' + id,
    method: 'get'
  })
}

// 新增案例列表
export function addCaseLists(data) {
  return request({
    url: '/mhrb/cases/caseLists',
    method: 'post',
    data: data
  })
}

// 修改案例列表
export function updateCaseLists(data) {
  return request({
    url: '/mhrb/cases/caseLists',
    method: 'put',
    data: data
  })
}

// 删除案例列表
export function delCaseLists(id) {
  return request({
    url: '/mhrb/cases/caseLists/' + id,
    method: 'delete'
  })
}
